<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test01</title>
</head>
<body>
<script type="text/javascript">
    // let [a, b, c] = [1, 2, 3];
    // let [a, , c] = [1, 2, 3];
    // let [a, , , ...c] = [1, 2, 3, 4, 5, 6];
    // let [a, b, c] = [1, 2, 3, 4, 5, 6];
    // let [a, b, c] = [1, 2];

    // let [a, [b], c] = [1, [2, 3], 4];
    // let [a, b, c] = [1, [2, 3], 4];

    // let [a, b, c] = new Set(["aa", "bb", "cc"]);

    // let [a, b, c = 8] = [1, 2];

    let [a = 1, b = a] = [];

    console.log(a);
    console.log(b);
    // console.log(c);
</script>
</body>
</html>